Posted: Thu 20 Dec 2012, 18:03
Is there are Puppy port for ARM that I don't know about which runs on these devices?jpeps wrote:
Why not just root your device and install puppy today?
READ-ONLY Archive
https://oldforum.puppylinux.com/
Is there are Puppy port for ARM that I don't know about which runs on these devices?jpeps wrote:
Why not just root your device and install puppy today?
http://puppylinux.org/wikka/PARMDave_G wrote:Is there are Puppy port for ARM that I don't know about which runs on these devices?jpeps wrote:
Why not just root your device and install puppy today?
You wanna program for a Symbian device (no offense to Symbian users, even I am curious about the abilities it may still have)jpeps wrote:...great, unless you want to program your android device.NeroVance wrote:I did an elective at my local college on Android development, and learned exactly why I don't care for android.
Linux programming all the way
Understanding java is almost essential. Fortunately, there are a ton of excellent tutorials. Here's one I like using eclipse:NeroVance wrote:
Android as a Platform is horrific when it comes down to developing for it. It acts in ways that make me think it want's to pretend it doesn't use Java, or can use any language, but the thing is bloody java to the core, and having the GUI source in XML and strings and the like is nice if you are doing development that is cross-platform and uses multiple languages, it's just Java.
Having finished an sqlite database app with 5 layout windows that imports, exports, edits and queries anything and everything with various clickable reports (all on my cellphone), I'd have to say that the solution to every imaginable obstacle was readily available via a google search. I'm impressed at just how sophisticated and available Android is for anyone at all interested (also completely enjoyable).NeroVance wrote:
Android as a Platform is horrific when it comes down to developing ....
Code: Select all
public class MainActivity extends Activity {
private static final String appKey = "MyKEY";
private static final String appSecret = "MySECRET";
private static final int REQUEST_LINK_TO_DBX = 0;
private TextView mTestOutput;
private Button mLinkButton, buttonExit;
private DbxAccountManager mDbxAcctMgr;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
mTestOutput = (TextView) findViewById(R.id.test_output);
mLinkButton = (Button) findViewById(R.id.link_button);
buttonExit = (Button) findViewById(R.id.buttonExit);
buttonExit.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
finish();
System.exit(0);
}
});
mLinkButton.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
onClickLinkToDropbox();
}
});
mDbxAcctMgr = DbxAccountManager.getInstance(getApplicationContext(), appKey, appSecret);
}
@Override
protected void onResume() {
super.onResume();
if (mDbxAcctMgr.hasLinkedAccount()) {
showLinkedView();
doDropboxTest();
} else {
showUnlinkedView();
}
}
private void showUnlinkedView() {
mLinkButton.setVisibility(View.VISIBLE); mTestOutput.setVisibility(View.GONE);
}
private void showLinkedView() {
mLinkButton.setVisibility(View.GONE);
mTestOutput.setVisibility(View.VISIBLE);
}
private void onClickLinkToDropbox() {
mDbxAcctMgr.startLink((Activity)this, REQUEST_LINK_TO_DBX);
}
@Override
public void onActivityResult(int requestCode, int resultCode, Intent data) {
if (requestCode == REQUEST_LINK_TO_DBX) {
if (resultCode == Activity.RESULT_OK) {
doDropboxTest();
} else {
mTestOutput.setText("Link to Dropbox failed or was cancelled.");
}
} else {
super.onActivityResult(requestCode, resultCode, data);
}
}
private void doDropboxTest() {
mTestOutput.setText("Dropbox Sync API Version "+DbxAccountManager.SDK_VERSION_NAME+"\n");
String packageName = "com.jpeters.myandroidlibrary2";
File myFilesDir = new File(Environment.getExternalStorageDirectory().getAbsolutePath() + "/Android/data/" + packageName + "/files");
File newFile = new File(myFilesDir, "MyLibrary.db");
try{
final String TEST_FILE_NAME = "MyLibrary.db";
DbxPath testPath = new DbxPath(DbxPath.ROOT, TEST_FILE_NAME);
// Create DbxFileSystem for synchronized file access.
DbxFileSystem dbxFs = DbxFileSystem.forAccount(mDbxAcctMgr.getLinkedAccount());
// Print the contents of the root folder. This will block until we can
// sync metadata the first time.
List<DbxFileInfo> infos = dbxFs.listFolder(DbxPath.ROOT);
mTestOutput.append("\nContents of app folder:\n");
for (DbxFileInfo info : infos) {
mTestOutput.append(" " + info.path + ", " + info.modifiedTime + '\n');
// Create a db file if it doesn't already exist.
if (!dbxFs.exists(testPath)) {
DbxFile testFile = dbxFs.create(testPath);
// write existing file to dropbox
testFile.writeFromExistingFile(newFile, false);
testFile.close();
}
else {
// remove existing file to update
dbxFs.delete(testPath);
DbxFile testFile = dbxFs.create(testPath);
testFile.writeFromExistingFile(newFile, false);
testFile.close();
}
mTestOutput.append("\nCreated new file '" + testPath + "'.\n");
} catch (IOException e) {
mTestOutput.setText("Dropbox test failed: " + e);
}
}
}
Code: Select all
private void dropboxClick() {
mDbxAcctMgr = DbxAccountManager.getInstance(getApplicationContext(), appKey, appSecret);
if (!mDbxAcctMgr.hasLinkedAccount()) {
mDbxAcctMgr.startLink((Activity)this, REQUEST_LINK_TO_DBX);
} else {
doDropboxExport();
}
}
Code: Select all
private void doDropboxExport() {
File newFile = new File(DB_FILEPATH, DATABASE_NAME);
try {
final String TEST_FILE_NAME = "MyLibrary.db";
DbxPath testPath = new DbxPath(DbxPath.ROOT, TEST_FILE_NAME);
DbxFileSystem dbxFs = DbxFileSystem.forAccount(mDbxAcctMgr.getLinkedAccount());
// Create a db file if it doesn't already exist.
if (!dbxFs.exists(testPath)) {
DbxFile testFile = dbxFs.create(testPath);
// write existing file to dropbox
testFile.writeFromExistingFile(newFile, false);
testFile.close();
Toast.makeText(this, "Written to DropBox: " + TEST_FILE_NAME, Toast.LENGTH_SHORT).show();
}
else {
// remove existing file to update
dbxFs.delete(testPath);
DbxFile testFile = dbxFs.create(testPath);
testFile.writeFromExistingFile(newFile, false);
testFile.close();
Toast.makeText(this, "Written to DropBox: " + TEST_FILE_NAME, Toast.LENGTH_SHORT).show();
}
} catch (Unauthorized e) {
Toast.makeText(this, "Dropbox Failed!" + e, Toast.LENGTH_SHORT).show();
e.printStackTrace();
} catch (DbxException e) {
Toast.makeText(this, "Dropbox Failed!" + e, Toast.LENGTH_SHORT).show();
e.printStackTrace();
} catch (IOException e) {
Toast.makeText(this, "Dropbox Failed!" + e, Toast.LENGTH_SHORT).show();
e.printStackTrace();
}
}
I wrote a few apps with AIDE on my Nexus. Version 2.16 is only 17.10 MB.afifio wrote:
I did try to wet my feet with ADT, but at 400MB API and who knows whats there, it might burn my pc to crisp. Even running eclipse is trivial for me....plus...I sux at java and its damn slow.
You can access the action bar directly in later versions of android. For example, to put the date in the action bar:
jpeps, checkout the Actionbar Sherlock, another thing to boot up your dev is the https://f-droid.org/ . I do envy the android community, they make it seems like easy and I got sleepy reading even the intro to android apps,
Code: Select all
ActionBar ab = get ActionBar();
ab.setTitle(dateString);
Well, all my office software for starters. I now do case notes on my cell phone, using voice to text. I wrote psych testing apps that uses the touchscreen (on a Nexus 7) for the questionnaire (boolean..true/false)..Score, content analysis, graph, etc.. You can tailor database apps for your own purposes. I wrote an sqlite db for my library (on my phone) that interfaces with a java sqlite on my pc...also interfaces with the cloud. I just wrote an exercise app that adds points for various activities..when the date changes, it logs the results to a file and resets itself. It's always great to be able to create apps that do exactly what you want them to do, and once you start using them, new ideas keep coming.As I said, if you could develop for android - what will you develop ?